package com.sk.bilibili.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 邵康
 * @date 2021/11/22 12:36
 */
@Data
@Component
@ConfigurationProperties("slide-code")
public class SlideCodeProperty {

    private String bgPath= "classpath:image/bg/*.png";
    private int bgWidth=300;
    private int bgHeight=200;
    private String sliderPath= "classpath:image/slider/*.png";
    private int sliderWidth=48;
    private int sliderHeight=48;
    private int darkCount=128;//暗下去的颜色
    private int interferenceNum=1;//干扰块数
    private int threshold=64;//透明阈值
    private int offset=10;//误差值

}
